[INFO] cloning repository https://github.com/scrogson/chat.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scrogson/chat.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrogson%2Fchat.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrogson%2Fchat.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29649f800d5c8f908c4b748b88f6d8870fb298dc
[INFO] checking scrogson/chat.rs against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrogson%2Fchat.rs" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/scrogson/chat.rs on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/scrogson/chat.rs
[INFO] finished tweaking git repo https://github.com/scrogson/chat.rs
[INFO] tweaked toml for git repo https://github.com/scrogson/chat.rs written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/scrogson/chat.rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/carllerche/mio`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8646f0df79b7595f668213bf4551fe28f848815d1c10d07b020048266f76e0fe
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8646f0df79b7595f668213bf4551fe28f848815d1c10d07b020048266f76e0fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8646f0df79b7595f668213bf4551fe28f848815d1c10d07b020048266f76e0fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8646f0df79b7595f668213bf4551fe28f848815d1c10d07b020048266f76e0fe", kill_on_drop: false }`
[INFO] [stdout] 8646f0df79b7595f668213bf4551fe28f848815d1c10d07b020048266f76e0fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75e466bbc946f046c8ba60b0e27651d8ed8a55e2cffb9155ffd5baf06347c1d9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "75e466bbc946f046c8ba60b0e27651d8ed8a55e2cffb9155ffd5baf06347c1d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]     Checking log v0.4.11
[INFO] [stderr]     Checking mio v0.7.0 (https://github.com/carllerche/mio#eef8d3b9)
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]     Checking chat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]   --> src/main.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | use mio::tcp::*;
[INFO] [stdout]    |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]   --> src/main.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | use mio::tcp::*;
[INFO] [stdout]    |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |             interest: EventSet::readable(),
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:116:38
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:117:38
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |             interest: EventSet::readable(),
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:137:46
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:138:46
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:116:38
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:117:38
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:169:38
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:172:42
[INFO] [stdout]     |
[INFO] [stdout] 172 |                     self.interest.insert(EventSet::hup());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:174:42
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:191:30
[INFO] [stdout]     |
[INFO] [stdout] 191 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:192:30
[INFO] [stdout]     |
[INFO] [stdout] 192 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:137:46
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:138:46
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:222:86
[INFO] [stdout]     |
[INFO] [stdout] 222 |                     event_loop.register(&self.clients[&new_token].socket, new_token, EventSet::readable(),
[INFO] [stdout]     |                                                                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:223:41
[INFO] [stdout]     |
[INFO] [stdout] 223 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:169:38
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:223:59
[INFO] [stdout]     |
[INFO] [stdout] 223 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:172:42
[INFO] [stdout]     |
[INFO] [stdout] 172 |                     self.interest.insert(EventSet::hup());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:229:43
[INFO] [stdout]     |
[INFO] [stdout] 229 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:229:61
[INFO] [stdout]     |
[INFO] [stdout] 229 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:238:35
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:238:53
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Shutdown`
[INFO] [stdout]    --> src/main.rs:243:36
[INFO] [stdout]     |
[INFO] [stdout] 243 |             client.socket.shutdown(Shutdown::Both);
[INFO] [stdout]     |                                    ^^^^^^^^ use of undeclared type or module `Shutdown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:174:42
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:191:30
[INFO] [stdout]     |
[INFO] [stdout] 191 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:192:30
[INFO] [stdout]     |
[INFO] [stdout] 192 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:253:26
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:262:25
[INFO] [stdout]     |
[INFO] [stdout] 262 |                         EventSet::readable(),
[INFO] [stdout]     |                         ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:263:25
[INFO] [stdout]     |
[INFO] [stdout] 263 |                         PollOpt::edge()).unwrap();
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |     socket: TcpStream,
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]   --> src/main.rs:67:15
[INFO] [stdout]    |
[INFO] [stdout] 67 |     interest: EventSet,
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn new(socket: TcpStream) -> WebSocketClient {
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]    --> src/main.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |     socket: TcpListener,
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]    --> src/main.rs:202:6
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl Handler for WebSocketServer {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]    --> src/main.rs:206:42
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:206:92
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
[INFO] [stdout]    --> src/main.rs:251:25
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let buf = try!(input.read_u16::<BigEndian>());
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let len = try!(Self::read_length(header.payload_length, input));
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:93:24
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let mask = try!(Self::read_mask(input));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:98:27
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut payload = try!(Self::read_payload(len, input));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         try!(input.read(&mut buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         try!(input.read(&mut payload));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         try!(output.write_u16::<BigEndian>(hdr));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:179:32
[INFO] [stdout]     |
[INFO] [stdout] 179 |             PAYLOAD_LEN_U16 => try!(output.write_u16::<BigEndian>(self.payload.len() as u16)),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:180:32
[INFO] [stdout]     |
[INFO] [stdout] 180 |             PAYLOAD_LEN_U64 => try!(output.write_u64::<BigEndian>(self.payload.len() as u64)),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         try!(output.write(&self.payload));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/frame.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Read, Write, Error};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:222:86
[INFO] [stdout]     |
[INFO] [stdout] 222 |                     event_loop.register(&self.clients[&new_token].socket, new_token, EventSet::readable(),
[INFO] [stdout]     |                                                                                      ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:223:41
[INFO] [stdout]     |
[INFO] [stdout] 223 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:223:59
[INFO] [stdout]     |
[INFO] [stdout] 223 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:229:43
[INFO] [stdout]     |
[INFO] [stdout] 229 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:229:61
[INFO] [stdout]     |
[INFO] [stdout] 229 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:238:35
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chat`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:238:53
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Shutdown`
[INFO] [stdout]    --> src/main.rs:243:36
[INFO] [stdout]     |
[INFO] [stdout] 243 |             client.socket.shutdown(Shutdown::Both);
[INFO] [stdout]     |                                    ^^^^^^^^ use of undeclared type or module `Shutdown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:253:26
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:262:25
[INFO] [stdout]     |
[INFO] [stdout] 262 |                         EventSet::readable(),
[INFO] [stdout]     |                         ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:263:25
[INFO] [stdout]     |
[INFO] [stdout] 263 |                         PollOpt::edge()).unwrap();
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |     socket: TcpStream,
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]   --> src/main.rs:67:15
[INFO] [stdout]    |
[INFO] [stdout] 67 |     interest: EventSet,
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/main.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn new(socket: TcpStream) -> WebSocketClient {
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]    --> src/main.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |     socket: TcpListener,
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]    --> src/main.rs:202:6
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl Handler for WebSocketServer {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]    --> src/main.rs:206:42
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:206:92
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet) {
[INFO] [stdout]     |                                                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
[INFO] [stdout]    --> src/main.rs:251:25
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let buf = try!(input.read_u16::<BigEndian>());
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let len = try!(Self::read_length(header.payload_length, input));
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:93:24
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let mask = try!(Self::read_mask(input));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/frame.rs:98:27
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut payload = try!(Self::read_payload(len, input));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         try!(input.read(&mut buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         try!(input.read(&mut payload));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         try!(output.write_u16::<BigEndian>(hdr));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:179:32
[INFO] [stdout]     |
[INFO] [stdout] 179 |             PAYLOAD_LEN_U16 => try!(output.write_u16::<BigEndian>(self.payload.len() as u16)),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:180:32
[INFO] [stdout]     |
[INFO] [stdout] 180 |             PAYLOAD_LEN_U64 => try!(output.write_u64::<BigEndian>(self.payload.len() as u64)),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/frame.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         try!(output.write(&self.payload));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/frame.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Read, Write, Error};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "75e466bbc946f046c8ba60b0e27651d8ed8a55e2cffb9155ffd5baf06347c1d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75e466bbc946f046c8ba60b0e27651d8ed8a55e2cffb9155ffd5baf06347c1d9", kill_on_drop: false }`
[INFO] [stdout] 75e466bbc946f046c8ba60b0e27651d8ed8a55e2cffb9155ffd5baf06347c1d9
